package com.itheima.youdianda.mapper;

import com.itheima.youdianda.domain.SysRoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author YUAN
* @description 针对表【sys_role_menu(角色-菜单)】的数据库操作Mapper
* @createDate 2022-09-06 18:36:38
* @Entity com.itheima.youdianda.domain.SysRoleMenu
*/
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {
    void add(@Param("id") Integer id, @Param("roleIds") String[] roleIds);

    void addRoleMenus(@Param("roleId") String id, @Param("menuIds") List<String> menuids);
}




